#pragma once
struct Node
{
	int data;
	Node *next;
};
class linklist
{
private:
	Node *head;
public:
	linklist()
	{
		head = new Node;
		head = NULL;
	}
	void insertlist(int adata);
	void deletelast(int adata);
	void display();
	Node *Gethead()
	{
		return head;
	}
};